
import home from '@/view/home/home.vue';
import login from '@/view/login/login.vue';
import register from '@/view/login/register.vue';
import forget from '@/view/login/forget.vue';
import index from '@/view/index/index.vue';
import records from '@/view/article/records.vue';

import tradeDetail from '@/view/trade/trade_detail.vue';
import trade from '@/view/trade/trade.vue';
import news from '@/view/article/news.vue';
import mine from '@/view/mine/mine.vue';
import myAsset from '@/view/mine/my_asset.vue';
import cash from '@/view/mine/cash.vue';
import article from '@/view/mine/article.vue';
import myRecord from '@/view/mine/my_record.vue';
import myTeam from '@/view/mine/my_team.vue';
import myCode from '@/view/mine/my_code.vue';

export default [
  {
    path: '/home',
    name: 'home',
    component: home,
		meta:{
	     keepAlive: false ,// 需要被缓存
	 }
  },
  {
    path: '/login',
    name: 'login',
    component: login,
  	meta:{
  	     keepAlive: true ,// 需要被缓存
  	 }
  },{
    path: '/register',
    name: 'register',
    component: register,
  	meta:{
  	     keepAlive: true ,// 需要被缓存
  	 }
  },{
    path: '/forget',
    name: 'forget',
    component: forget,
  	meta:{
  	     keepAlive: true ,// 需要被缓存
  	 }
  },{
    path: '/index',
    name: 'index',
    component: index,
  	meta:{
  	     keepAlive: true ,// 需要被缓存
  	 }
  },{
    path: '/records',
    name: 'records',
    component: records,
  	meta:{
  	     keepAlive: true ,// 需要被缓存
  	 }
  },{
	path: '/mine',
	name: 'mine',
	component: mine,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/myAsset',
	name: 'myAsset',
	component: myAsset,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/myRecord',
	name: 'myRecord',
	component: myRecord,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/tradeDetail',
	name: 'tradeDetail',
	component: tradeDetail,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/trade',
	name: 'trade',
	component: trade,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/myTeam',
	name: 'myTeam',
	component: myTeam,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/myCode',
	name: 'myCode',
	component: myCode,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/news',
	name: 'news',
	component: news,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/cash',
	name: 'cash',
	component: cash,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },{
	path: '/article',
	name: 'article',
	component: article,
	meta:{
	     keepAlive: true,// 需要被缓存
	 }  
  },
  
  
];